package icu.qx.gbs.domain;

import java.math.BigDecimal;
import java.util.List;

import lombok.ToString;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 物料配件对象 gbs_bom_material
 *
 * @author yong
 * @date 2024-06-21
 */
@ToString
public class GbsBomMaterial extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * bm_bom编码
     */
    private String bmBomCode;

    /**
     * bm_bom版本
     */
    private String bmBomVersion;
    private GbsBom gbsBom;

    /**
     * 物料code
     */
    private String bmMaterialCode;
    private GbsGood gbsMaterial;

    /**
     * 物料的bomCode
     */
    private String bmMBomCode;

    /**
     * 物料的BomVersion
     */
    private String bmMBomVersion;

    /**
     * 使用量
     */
    private BigDecimal bmUse;

    /**
     * 子Bom
     */
    private List<GbsBomMaterial> gbsBomMaterials;

    public GbsBom getGbsBom() {
        return gbsBom;
    }

    public void setGbsBom(GbsBom gbsBom) {
        this.gbsBom = gbsBom;
    }

    public GbsGood getGbsMaterial() {
        return gbsMaterial;
    }

    public void setGbsMaterial(GbsGood gbsMaterial) {
        this.gbsMaterial = gbsMaterial;
    }

    public void setBmBomCode(String bmBomCode) {
        this.bmBomCode = bmBomCode;
    }

    public String getBmBomCode() {
        return bmBomCode;
    }

    public void setBmBomVersion(String bmBomVersion) {
        this.bmBomVersion = bmBomVersion;
    }

    public String getBmBomVersion() {
        return bmBomVersion;
    }

    public void setBmMaterialCode(String bmMaterialCode) {
        this.bmMaterialCode = bmMaterialCode;
    }

    public String getBmMaterialCode() {
        return bmMaterialCode;
    }

    public void setBmUse(BigDecimal bmUse) {
        this.bmUse = bmUse;
    }

    public BigDecimal getBmUse() {
        return bmUse;
    }

    public List<GbsBomMaterial> getGbsBomMaterials() {
        return gbsBomMaterials;
    }

    public void setGbsBomMaterials(List<GbsBomMaterial> gbsBomMaterials) {
        this.gbsBomMaterials = gbsBomMaterials;
    }

    public String getBmMBomCode() {
        return bmMBomCode;
    }

    public void setBmMBomCode(String bmMBomCode) {
        this.bmMBomCode = bmMBomCode;
    }

    public String getBmMBomVersion() {
        return bmMBomVersion;
    }

    public void setBmMBomVersion(String bmMBomVersion) {
        this.bmMBomVersion = bmMBomVersion;
    }

}
